// const env = "DEV";
// // const env = "PRO";
// let host = uni.getStorageSync("host");console.log("configHost",host);

// const configObj = {
// 	CODE_IMG_URL: "http://dd.ahchdz.cn:8055/", //验证码地址
// 	VERSION_CREATE_TIME: "2020-03-02" ,//版本创建时间
// 	VERSION:411
// };
// if (env == "DEV") {
// 	configObj.URL = host ? host : "http://dd.ahchdz.cn:8055/"; //开发环境
// }else{
// 	configObj.URL = host ? host : "http://dd.ahchdz.cn:8080/"; //测试环境
// }

// export default configObj;

// const env = "DEV";
// const env = "PRO";
const env = "tgzh";
let host = uni.getStorageSync("host");
console.log("configHost", host);
let devHost = 'http://192.168.1.213:8998/';
let tgzhHost = 'https://child.xjtgzh.com/';
const configObj = {
	 CODE_IMG_URL: "", //服务器地址
	 VERSION_CREATE_TIME: "2023-11-08", //版本创建时间
	 VERSION: "1.0.0",
};
if (env == "tgzh") {
	configObj.URL = host ? host : tgzhHost; //塔格智汇
} else if (env == "DEV") {
	configObj.URL = host ? host : devHost; //开发环境
} else {
	configObj.URL = host ? host : onlineHost; //正式环境
}

export default configObj;
